package com.xwl.learn.chapter03;

public class for_two {
    public static void littleStar(int StarNum){
        for(int i = 1 ; i < StarNum ; i++){
            for (int j = 1 ; j < i ; j++ ){
                System.out.printf("★");
            }
            System.out.println("");
        }
    }
    public static void main(String []args){
        littleStar(9);
    }
}
